package com.fulihui.common.enums;

/**
 * @author: LiuJie
 * @version: 2018/8/1 14:58
 * @description: 群发消息类型
 */
public enum MassMsgTypeEnum implements BaseEnum{
    /**
     * 图文消息为mpnews，文本消息为text，语音为voice，音乐为music，图片为image，视频为video，卡券为wxcard
     */
    mpnews("mpnews","图文"),
    text("text", "文本"),
    image("image", "图片"),
    voice("voice", "语音"),
    video("video", "视频"),
    music("music","音乐"),
    wxcard("wxcard","卡券");

    String code;
    String desc;

    MassMsgTypeEnum(String code,String desc){
        this.code = code;
        this.desc = desc;
    }

    /**
     * 获取枚举代码
     */
    @Override
    public String getCode() {
        return code;
    }

    /**
     * 获取枚举描述
     */
    @Override
    public String getDesc() {
        return desc;
    }
}
